﻿using System;

namespace Moe.ECamel.Common.Contracts
{
	/// <summary>
	/// Encapsulates rental request information.
	/// </summary>
	public class RentalRequest
	{
		private readonly int _customerId;
		private readonly int _itemId;
		private readonly DateTime _rentalDate;

		public RentalRequest(int customerId, int itemId, DateTime rentalDate)
		{
			this._customerId = customerId;
			this._itemId = itemId;
			this._rentalDate = rentalDate;
		}

		public int CustomerId
		{
			get { return _customerId; }
		}
		public int ItemId
		{
			get { return _itemId; }
		}
		public DateTime RentalDate
		{
			get { return _rentalDate; }
		}
	}
}
